home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Utilities Experience
/
The Utilities Experience - Volume 1.iso
/
software
/
graphics
/
n-z
/
raystorexa
/
arexx
/
simple.ray
< prev
next >
Wrap
Text File
|
1995-10-18
|
892b
|
49 lines
/***************
* NAME: simple.ray
* VERSION: 1.0 18.10.95
* DESCRIPTION: Tutorial: Simple Scene
* AUTHORS: Andreas Heumann
* BUGS: none
* TO DO: none
* HISTORY:
* DATE NAME COMMENT
* 18.10.95 ah initial release
***************/
signal on error
options results
IF ~show('P','RAYSTORM') THEN DO
address COMMAND 'run >NIL: <NIL: /RayStorm'
address COMMAND WaitForPort RAYSTORM
END
address RAYSTORM
'SETCAMERA <6,1.5,-1.5> <0,0,0> <0,1,0>'
'SETWORLD [30,30,255]'
'POINTLIGHT <30,50,30> [255,255,255] SHADOW'
'NEWSURFACE planesurf'
'DIFFUSE [155,0,0]'
'IMTEXTURE /textures/checker.itx <.1,.1,.1> <0,0,0> <2,2,2> 50 0 0'
'NEWSURFACE spheresurf'
'REFLECT [255,255,255]'
'SPHERE spheresurf <0,1,0> 1'
'PLANE planesurf'
'STARTRENDER'
'SAVEPIC simple.iff'
exit 0
error:
say "Error" rc "in line" sigl ":"
GETERRORSTR rc
say result
exit 0